package com.echat.elocation.protocol;

import com.echat.elocation.protocol.entity.receive.RegisterRespMsg;
import com.echat.elocation.protocol.entity.receive.ServerCommonRespMsg;
import com.echat.elocation.protocol.entity.receive.TextMsgIssuedRespMsg;

/**
 *
 * @author lihao
 *
 * @date 2018/7/11 9:50
 */
public interface IServerReceive {

    /**
     * 注册应答 id:0x8100
     *
     * @param msg 注册应答消息
     */
    void onRegisterResult(RegisterRespMsg msg);

    /**
     * 服务器通用应答 id:0x8001
     *
     * @param msg 服务器通用应答消息
     */
    void onServerCommonResult(ServerCommonRespMsg msg);

    /**
     * 文本消息下发 id:0x8300
     *
     * @param msg 语音播报消息
     */
    void onTextMsgIssuedResult(TextMsgIssuedRespMsg msg);

}
